# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=proxyscan
pkgver=0.3
pkgrel=7
groups=('blackarch' 'blackarch-scanner')
pkgdesc='A security penetration testing tool to scan for hosts and ports through a Web proxy server.'
arch=('any')
url='http://packetstormsecurity.com/files/69778/proxyScan-0.3.tgz.html'
license=('GPL2')
depends=('perl' 'perl-libwww' 'perl-lwp-useragent-proxyany')
source=("https://dl.packetstormsecurity.net/UNIX/scanners/proxyScan-$pkgver.tgz")
sha512sums=('ac25c42d24fee650c54a0704bd0a56400efa486ce4729e235010c5639c9a4b28ad2b993cb03405f30681bdcb39218fe09326b957377cd14bbf208b3bf53bfb30')

package() {
  cd "proxyScan-$pkgver"

  install -Dm 755 proxyScan.pl "$pkgdir/usr/bin/$pkgname"
  install -Dm 644 -t "$pkgdir/usr/share/doc/$pkgname/" README
  install -Dm 644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

